<div class="kontent_box">
<div class="kontent_panel">
<div class="reg_input">
    <div><h3>Ubah Data Fakultas</h3></div>

    <table>
        <?php echo form_open_multipart('admin/edit_fakultas'); ?>
        <?php foreach ($data_fakultas->result() as $r) { ?>
        <tr>
            <td>
                <input type="hidden" name="fakultas_id" value="<?php echo $r->FAKULTAS_ID; ?>"/>
            </td>
        </tr>
        <tr>
            <td id="text_">Nama</td>
            <td ><input  type="text" name="nama" value="<?php echo $r->FAKULTAS_NAMA; ?>" /></td>
            <td class="eror_td"><?php echo form_error('nama'); ?></td>
        </tr>
        <tr>
            <td id="text_">Nama Singkatan</td>
            <td><input  type="text" name="singkatan" value="<?php echo $r->FAKULTAS_NAMA_SINGKATAN; ?>" /></td>
            <td class="eror_td"><?php echo form_error('singkatan'); ?></td>
        </tr>
        <tr>
            <td id="text_">Alamat</td>
            <td><textarea  type="text" name="alamat" value="" ><?php echo $r->FAKULTAS_ALAMAT; ?></textarea></td>
            <td class="eror_td"><?php echo form_error('alamat'); ?></td>
        </tr>
        <tr>
            <td id="text_">Telp</td>
            <td><input  type="text" name="telp" value="<?php echo $r->FAKULTAS_TELP; ?>" ></input></td>
            <td class="eror_td"><?php echo form_error('telp'); ?></td>
        </tr>
        <tr>
            <td id="text_">Fax</td>
            <td><input  type="text" name="fax" value="<?php echo $r->FAKULTAS_FAX; ?>" ></td>
            <td class="eror_td"><?php echo form_error('fax'); ?></td>
        </tr>
        <tr>
            <td id="text_">Email</td>
            <td><input  type="text" name="email" value="<?php echo $r->FAKULTAS_EMAIL; ?>" /></td>
            <td class="eror_td"><?php echo form_error('email'); ?></td>
        </tr>
        <tr>
            <td id="text_">Website</td>
            <td><input  type="text" name="website" value="<?php echo $r->FAKULTAS_WEBSITE; ?>" /></td>
            <td class="eror_td"><?php echo form_error('website'); ?></td>
        </tr>
            
        <tr>
            <td></td>
            <td><input  type="submit" value="Ubah Data"/></td>
            <td class="eror_td"></td>
        </tr>
    <?php } ?>
    <?php form_close() ?>
    </table>
    

</div>
</div>